<style>
.i18nfield-model-list-item{
	float:left;
	display:inline-block;
	margin:5px 5px;
}
</style>
<div id="{{$pageID}}" style="width:100%;height:100%;">
	<h3>请选择模型</h3>
	<div>		
		<ul class="m0 p0">
		<?PHP
		foreach($tables as $key => $value){
			$tablenamne = array_pop($value['TABLE_NAMES']);
			if(preg_match('/_\d+/',$tablenamne)){
				continue;
			}
			
			$modelname = Inflector::classify($tablenamne);
			if(in_array($modelname,array(
				//'Aro','Aco','ArosAco','Session',
// 'StatsDay','StatsMonth','StatsWeek',
				'MenuI18n',
				'Stylevar'))){
				continue;
			}
			echo '<li class="i18nfield-model-list-item">
			<a target="_blank" class="btn btn-default btn-lg" href="'.Router::url(array('action'=>'list','?'=>array('model'=>$modelname))).'"
 style="display:block;">'.__d('modelextend',$modelname).'<br/><small>'.$modelname.'</small></a>
				
			</li>';
		}
		?>
		</ul>		
	</div>
</div>